﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace AlbumArtOrganizer.Model
{
    public class OptionDirectory : Option, IOption
    {
        public override string PluginName
        {
            get;
            set;
        }

        public override string Title
        {
            get;
            set;
        }

        public override string Description
        {
            get;
            set;
        }

        string _value = null;
        public virtual string Value
        {
            get
            {
                return _value;
            }
            set
            {
                _value = value;
                OnPropertyChanged("Value");
                OnPropertyChanged("Directory");
            }
        }

        public virtual System.IO.DirectoryInfo Directory
        {
            get
            {
                return new System.IO.DirectoryInfo(Value);
            }
        }
    }
}
